﻿package mortal.game.view.arena.view
{
    import com.mui.controls.*;
    import extend.language.*;
    import flash.display.*;
    import mortal.game.resource.*;
    import mortal.game.view.arena.renderer.*;
    import mortal.game.view.common.*;

    public class ArenaRankPanelBase extends ArenaPanelBaseNew
    {
        protected var _title1:GTextFiled;
        protected var _title2:GTextFiled;
        protected var _rankList:GTileList;

        public function ArenaRankPanelBase()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            this.pushUIToDisposeVec(UIFactory.bg(8, 64, 894, 533 - 3, this));
            this.pushUIToDisposeVec(UIFactory.bg(8, 444 - 4, 894, 153, this));
            this.pushUIToDisposeVec(UIFactory.bg(11, 66, 890, 23, this, ImagesConst.RegionTitleBg));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40819), 29 + 11, 71 - 4, 40, 20, this));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40820), 130 + 11, 71 - 4, 40, 20, this));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40821), 315 - 34 + 11, 71 - 4, 60, 20, this));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40822), 403 + 11, 71 - 4, 40, 20, this));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40823), 487 + 11, 71 - 4, 40, 20, this));
            this.pushUIToDisposeVec(UIFactory.gTextField(Language.getString(40824), 582 + 11, 71 - 4, 60, 20, this));
            this._title1 = UIFactory.gTextField("", 679 + 11, 71 - 4, 90, 20, this);
            this._title2 = UIFactory.gTextField("", 799 + 11, 71 - 4, 90, 20, this);
            this._rankList = UIFactory.tileList(11, 89, 890 - 15, 361 - 10, this);
            this._rankList.columnWidth = 890 - 15;
            this._rankList.rowHeight = 36 - 1;
            this._rankList.horizontalGap = 0;
            this._rankList.verticalGap = 0;
            this._rankList.setStyle("skin", new Bitmap());
            this._rankList.setStyle("cellRenderer", ArenaRankInfoCellRenderer);
            super.createDisposedChildrenImpl();
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            this._rankList.dispose();
            this._rankList = null;
            this._title1.dispose();
            this._title1 = null;
            this._title2.dispose();
            this._title2 = null;
            return;
        }// end function

    }
}
